﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom;

namespace Perovich.GameObjects.Tools.Util
{
    public class AutoComponentConstructor
    {
        private Type type;

        public CodeObjectCreateExpression Ctor
        {
            get
            {
                return new CodeObjectCreateExpression(type, args);
            }
        }
        private CodeExpression[] args;

        public AutoComponentConstructor(Type type, CodeExpression[] args)
        {
            this.type = type;
            this.args = args;
        }

    }
}
